package org.flexlancer.utils
{
	public class GenericUtils
	{
		public static function DateObject(val:String):Date{
			try{
				var toks:Array = val.split("-");
				return new Date(Number(toks[0]),Number(toks[1]),Number(toks[2]));
			}catch(err:Error){
				throw err;
			}
			return new Date();
		}
	}
}